how to give text two colors in css

65

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(green, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

Comments

Submit
0 Comments